package com.tsj.ai.mcp.service;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Service;

/**
 * @author taoshujian
 * @version 1.0
 * @since 2025-10-30 08:59:43
 */
@Service
public class WeatherService {

    @Tool(description = "获取天气信息")
    public String getWeather(String city) {
        return "今天" + city + "的天气是晴天";
    }
}
